Skip to content

Add state explorer and map stackups#2

Merged
danielmcauley merged 1 commit into
mainfrom
codex/state-explorer-map-stackup
Apr 1, 2026
Merged

Add state explorer and map stackups#2
danielmcauley merged 1 commit into
mainfrom
codex/state-explorer-map-stackup

Conversation

@danielmcauley
Copy link
Copy Markdown
Owner

Summary

  • add a new States tab with a selectable state explorer view
  • add map hover tooltips showing each state's 3 best and 3 worst rankings
  • route map clicks into the states explorer with the clicked state preselected

Testing

  • npm test
  • npm run lint
  • npm run build

@danielmcauley danielmcauley merged commit f0d5c43 into main Apr 1, 2026
3 checks passed
@danielmcauley danielmcauley deleted the codex/state-explorer-map-stackup branch April 1, 2026 23:15
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8069b1d2fc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

selectedSlug
}: StateExplorerControlsProps) {
const router = useRouter();
const [value, setValue] = useState(selectedSlug);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Sync selector state when selectedSlug prop changes

StateExplorerControls seeds local state from selectedSlug once, but never updates it when props change after client navigation (e.g., back/forward between /states?state=... URLs). This can desync the dropdown/current-pick/shareable-link from the profile data rendered for the new query.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant